/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Network;

import java.io.BufferedReader;
import java.io.PrintWriter;
import java.net.*;

/**
 *
 * @author Vo Nguyen Khang
 */



public class NetworkConnection {

    // Message from client
    static final String MSG_CLIENT_DISCONNECT = "__CD__";
    static final String MSG_CLIENT_CONNECT = "__CC__";
    static final String MSG_CLIENT_SUBMITTED = "__CS__";
    static final String MSG_CLIENT_REQUEST = "__CR__";
    

    // Message from server
    static final String MSG_SERVER_DISCONNECT = "__SD__";
    static final String MSG_SERVER_START = "__SS__";
    static final String MSG_SERVER_TIMEOUT = "__ST__";
    static final String MSG_SERVER_REPLY = "__SR__";
    static final String MSG_SERVER_SUBMIT_REPLY = "__CSR__";
    
    

    protected Socket socket;
    protected PrintWriter out = null;
    protected BufferedReader in = null;


    public NetworkConnection() {
        socket = null;
    }

}


